package com.ruoyi.order.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单任务执行对象 order_fulfillment
 * 
 * @author testlove
 * @date 2021-07-08
 */
public class OrderFulfillment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long orderFulfillmentId;
    private String operation;

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String orderId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long operationId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date beginDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date endDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String note;

    public OrderFulfillment(OrderFulfillment orderFulfillment) {
        this.orderFulfillmentId = orderFulfillment.getOrderFulfillmentId();
        this.orderId = orderFulfillment.getOrderId();
        this.operationId = orderFulfillment.getOperationId();
        this.beginDate = orderFulfillment.getBeginDate();
        this.endDate = orderFulfillment.getEndDate();
        this.note = orderFulfillment.getNote();
    }

    public OrderFulfillment() {
    }

    public void setOrderFulfillmentId(Long orderFulfillmentId)
    {
        this.orderFulfillmentId = orderFulfillmentId;
    }

    public Long getOrderFulfillmentId() 
    {
        return orderFulfillmentId;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOperationId(Long operationId) 
    {
        this.operationId = operationId;
    }

    public Long getOperationId() 
    {
        return operationId;
    }
    public void setBeginDate(Date beginDate) 
    {
        this.beginDate = beginDate;
    }

    public Date getBeginDate() 
    {
        return beginDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderFulfillmentId", getOrderFulfillmentId())
            .append("orderId", getOrderId())
            .append("operationId", getOperationId())
            .append("beginDate", getBeginDate())
            .append("endDate", getEndDate())
            .append("note", getNote())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
